ReadRange<T>(T[],Int32,Int32) Method
In This Topic
Reads a sequence of elements from the current stream into a target buffer and advances the position within the stream by the number of bytes read.
Syntax
'Declaration
Public Overloads Function ReadRange(Of As {New, Struct})( _
ByVal () As , _
ByVal As Integer, _
ByVal As Integer _
) As Integer
public int ReadRange<>(
[] ,
int ,
int
)
where T: new(), struct
Parameters
- buffer
- An array of values to be read from the stream.
- offset
- The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
- count
- The number of values to be read from the current stream.
Type Parameters
- T
Return Value
The number of bytes read from the stream.
Exceptions
See Also